# Graphing utility question with 2 plots - one line and one exponential - is there a trick to this?

##
In trying to do a recent question (find solutions to #5^3-2x=5^(-x)# ), I tried putting both the left and right onto a single graph: (y-125+2x)(y-5^(-x))=0 and the resulting graph was... odd. Is there some trick to using the graphing utility when working with exponentials?

In trying to do a recent question (find solutions to

##### 1 Answer

#### Answer

#### Answer:

#### Explanation

#### Explanation:

#### Answer:

The reason is kind of funny.

#### Explanation:

The number 125 rises the line really high up, beyond deault range of graph.

graph

graph

graph

You can

- cut the domain by graphing (y-125+2x)(y-5^-x)sqrt(x+20)=0 More about cutting domains
- change range to hide it.
- logarithm both sides to avoid extremely high values (probably the best solution, but cuts off negative
#y# )

graph##{(y-125+2x)(lny+xln5)=0 [-200, 200, -20, 180]}

graph{(y-125+2x)(lny+xln5)=0 [-200, 200, -20, 180]}

Describe your changes (optional) 200