Rearrange this equation to make x the subject

  • Thread starter autodidude
  • Start date
  • Tags
    Rearrange
In summary: Note that if you only switch y and x, you will get an equation for y in terms of x, but you won't get an equation for x in terms of y.
  • #1
autodidude
333
0

Homework Statement


I'm pretty sure we're meant to solve this using a calculator but I'd like to see if it can be rearranged to make x the subject. I've tried the usual approaches but ended up going in circles. It's part of a bigger problem which required me to find the intersection of [tex]f(x)=2e^x-4[/tex] and its inverse

Homework Equations



[tex]ln((x+4)/2) =2e^x-4[/tex]
 
Physics news on Phys.org
  • #2
autodidude said:

Homework Statement


I'm pretty sure we're meant to solve this using a calculator but I'd like to see if it can be rearranged to make x the subject. I've tried the usual approaches but ended up going in circles. It's part of a bigger problem which required me to find the intersection of [tex]f(x)=2e^x-4[/tex] and its inverse


Homework Equations



[tex]ln((x+4)/2) =2e^x-4[/tex]

Haha, you're almost there, it looks like you took the right steps, you just mixed up y and x. So in a sense, you have the solving steps down, but now comes the hard part, meaning it's hard to explain.

There's two ways to go, take the original y=f(x), and solve for x in terms of y, so x=x(y). Then you trade y and x.
In your case that would look like

y=2e^x-4 solve
x=ln((y+4)/2) switch
y=ln((x+4)/2)

I think you used this method, but then set one y equal to another, which is wrong on a deep and subtle level, which if you're having trouble understanding, let us know that that is where you are stuck,a dn we should be able to go into better detail.

The other way to go, slightly different, switch y and x first then solve.
That would look like

y=2e^x-4 switch
x=2e^y-4 solve
y=ln((x+4)/2)
 
  • #3
If you have a graphic calculator and plot the function and its inverse: that might remind you of the diagramatic relation of a function and its inverse quite generally which you have probably been told sometime. Alternatively, work it out. Or check back in your book (probably the hardest way!).

Alternatively consider it symbolically (forget the specifics of exp and log).

You are asked x when f(x) = f-1(x) .

What do you have to do to that equation to get x = ... ?
 
Last edited:
  • #4
algebrat said:
Haha, you're almost there, it looks like you took the right steps, you just mixed up y and x. So in a sense, you have the solving steps down, but now comes the hard part, meaning it's hard to explain.
It's much simpler to explain if you omit the part where you switch the names of the variables.
algebrat said:
There's two ways to go, take the original y=f(x), and solve for x in terms of y, so x=x(y). Then you trade y and x.
In your case that would look like

y=2e^x-4 solve
x=ln((y+4)/2) switch
y=ln((x+4)/2)
Since the stated goal was to solve for x in terms of y, switching variable names results in an equation where y is still in terms of x.

From the above,
y = 2ex - 4
<=> y + 4 = 2ex
<=> (y + 4)/2 = ex
<=> ln[(y + 4)/2] = x

Or x = ln[(y + 4)/2]
The equation we started with is solved for x in terms of y. Note that all steps above are reversible, which is why I'm showing the equivalence symbol at each step rather than the implication symbol.

In terms of function notation, what we have here are y = f(x) and x = f-1(y). Both of these equations have exactly the same graph. The only difference is that one equation gives you the y value if you know the x value at a point; the other gives you the x value if the y value is known.

IMO, many textbooks (and hence students who read these textbooks) are fixated on the variable name switching process, and miss out on what I believe is the more important process of solving the equation for the other variable.

The only advantage of switching variable names in the context of inverse functions is that both the original function and its inverse now have x as the independent variable and y as the dependent variable. That allows you to graph both functions on the same axis system, and observing that the graphs are the reflection of each other across the line y = x.

Personally I don't think this is a very big deal. The applications of finding inverses that come later in calculus almost never involve switching variable names.
algebrat said:
I think you used this method, but then set one y equal to another, which is wrong on a deep and subtle level, which if you're having trouble understanding, let us know that that is where you are stuck,a dn we should be able to go into better detail.

The other way to go, slightly different, switch y and x first then solve.
That would look like

y=2e^x-4 switch
x=2e^y-4 solve
y=ln((x+4)/2)

Again, the goal was to solve for x ("make x the subject").
 
  • #5
Looking at this graphically:

If the function, f(x), has an inverse, and in this case it does, then the graph of y = f -1(x) is the same as then graph x = f(y).

The graph, x = f(y), can be obtained by reflecting the graph of y = f(x) through the line, y = x.

Therefore, the graphs, y = f -1(x), and y = f(x), intersect only where they intersect the graph of y = x

So you only need to solve, [itex]\displaystyle x=2e^{x}-4\,,\ \text{ or }x=\ln((x+4)/2)\ ,[/itex]

rather than solving [itex]\displaystyle \ln((x+4)/2)=2e^{x}-4\ .[/itex]
 
  • #6
algebrat said:
Haha, you're almost there, it looks like you took the right steps, you just mixed up y and x. So in a sense, you have the solving steps down, but now comes the hard part, meaning it's hard to explain.

There's two ways to go, take the original y=f(x), and solve for x in terms of y, so x=x(y). Then you trade y and x.
In your case that would look like

y=2e^x-4 solve
x=ln((y+4)/2) switch
y=ln((x+4)/2)

I think you used this method, but then set one y equal to another, which is wrong on a deep and subtle level, which if you're having trouble understanding, let us know that that is where you are stuck,a dn we should be able to go into better detail.

The other way to go, slightly different, switch y and x first then solve.
That would look like

y=2e^x-4 switch
x=2e^y-4 solve
y=ln((x+4)/2)

Yeah, that's what I tried to do

@penguin: The answer the book gives suggests that this is a tech-active question (not a nice solution, has 3 decimal places)

You are asked x when f(x) = f-1(x) .

What do you have to do to that equation to get x = ... ?


Isn't that just rearrange for x?


At the moment, I'm most interested in seeing whether the equation can be rearranged to find x, forgetting all inverse stuff. So just pretend I'm asking how to rearrange for x :p
 
  • #7
SammyS said:
Therefore, the graphs, y = f -1(x), and y = f(x), intersect only where they intersect the graph of y = x

not necessarily, see for example,
f(x)=1/x ;x>0
f-1(x)=1/x

and they are coincident.
 
  • #8
autodidude said:

Homework Statement


I'm pretty sure we're meant to solve this using a calculator but I'd like to see if it can be rearranged to make x the subject. I've tried the usual approaches but ended up going in circles. It's part of a bigger problem which required me to find the intersection of [tex]f(x)=2e^x-4[/tex] and its inverse


Homework Equations



[tex]ln((x+4)/2) =2e^x-4[/tex]

Add 4, divide by 2 and take the natural logarithm. What do you get?
 
  • #9
pcm said:
not necessarily, see for example,
f(x)=1/x ;x>0
f-1(x)=1/x

and they are coincident.
Yes, pcm, you are correct !

I suppose I must have only considered invertible functions which are increasing, when I wrote that.

There is a whole slew of invertible functions that are decreasing which are counter-examples.
 
  • #10
Can [tex]ln (\frac{(x+4)}{2})=2e^x-4 [/tex] even be rearranged for x? I seem to recall coming across a exponential equation in the past that I never got anywhere with. What are these equations called?
 
  • #11
autodidude said:

Homework Statement


I'm pretty sure we're meant to solve this using a calculator but I'd like to see if it can be rearranged to make x the subject. I've tried the usual approaches but ended up going in circles. It's part of a bigger problem which required me to find the intersection of [tex]f(x)=2e^x-4[/tex] and its inverse


Homework Equations



[tex]ln((x+4)/2) =2e^x-4[/tex]

dimension10 said:
Add 4, divide by 2 and take the natural logarithm. What do you get?
Okay, doing that you get x= ln((x+12)/2)- ln(2). How does that help?

As others have said there is NO way to solve this equation using elementary algebraic methods. In fact, autodidude himself said "The answer the book gives suggests that this is a tech-active question (not a nice solution, has 3 decimal places)".
 
  • #12
You didn't quite state what the question is.

You asked 'rearrange the equation to make x the subject'.

When I said do it in general independent of the nature of f I meant you can to

f-1(x) = f(x)

apply f giving

f[f-1(x)] = f(f(x))

so

x = f[f(x)] . RHS is a.k.a. f2(x)

You can work out f2(x) as a formula for this specific case easily.

But if you want x = something independent of x, I don't think that can be meaningfully done.

If you want to numerically find the x that satisfies the first equation above then the simplest thing is to use the symmetry as pointed out by SammyS (I was trying to lead you there too :smile:) and solve f(x) = x .

There are two solutions (which you should expect if you sketch curves) and one is close to but slightly above -4 (which you can perhaps rationalise). On a graph plotter or something plot f(x), f-1(x) and the line through origin of slope 1. They all go through 2 points and so does f2(x) - and lots of other related functions you can invent, if you think about it - even looks quite pretty.
 
Last edited:
  • #13
@HallsOfIvy: Ah, I must've missed it, thanks. What do you call equations that can't be solved algebraically?


Thanks epenguin and everyone else that contributed, now I can try solving it :)
 
  • #14
autodidude said:
What do you call equations that can't be solved algebraically?

Transcendental, I think.
 

Related to Rearrange this equation to make x the subject

1. How do I rearrange an equation to make x the subject?

To rearrange an equation to make x the subject, you need to isolate the x variable on one side of the equation. This can be done by performing inverse operations on both sides of the equation, such as addition, subtraction, multiplication, and division.

2. Can I rearrange an equation with multiple variables to make x the subject?

Yes, you can rearrange an equation with multiple variables to make x the subject. You will need to use the same steps as in a single variable equation, but you may need to perform additional operations to isolate the x variable.

3. What is the purpose of rearranging an equation to make x the subject?

Rearranging an equation to make x the subject is useful for solving equations and finding the value of x. It allows you to easily manipulate the equation and solve for a specific variable, in this case, x.

4. Can I rearrange any equation to make x the subject?

Not all equations can be rearranged to make x the subject. Some equations, such as quadratic equations, have multiple solutions and cannot be simplified to just one variable. Additionally, some equations may not have a solution at all.

5. Are there any tips for rearranging equations to make x the subject?

One helpful tip for rearranging equations to make x the subject is to start by identifying the inverse operations needed to isolate the x variable. Also, be sure to perform the same operation on both sides of the equation to maintain balance.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
8
Views
1K
  • Precalculus Mathematics Homework Help
Replies
4
Views
919
  • Precalculus Mathematics Homework Help
Replies
15
Views
2K
Replies
3
Views
1K
Replies
2
Views
1K
  • Introductory Physics Homework Help
Replies
10
Views
1K
  • Precalculus Mathematics Homework Help
Replies
9
Views
1K
Replies
12
Views
2K
  • General Math
Replies
5
Views
1K
  • General Math
Replies
8
Views
1K
Back
Top