First year calculus proving two formulas are equivalent with natural logs

In summary, the two formulas are equivalent if the arbitrary constants are different and the two differ by at most a constant.
  • #1
ilikesoldat
9
1

Homework Statement



Show that the two formulas are equivalent
integral [sec x dx] = ln|sec x + tan x| + C
integral [sec x dx] = -ln|sec x - tan x| + C

Homework Equations



Pythagorean ID's?

Log rule of addition

The Attempt at a Solution


Well, I realized the formulas can only be equivalent if

-ln|sec x - tan x| + C = ln|sec x + tan x| + C

I put the constants on one side, ln on the other:

ln |sec x + tan x| + ln| sec x - tan x| = C

Then,

ln |(sec x + tan x) * (sec x - tan x)| = C

ln |(sec x)^2 - (tan x)^2| = C

Using pythagorean ID's,

ln |1| = C

But what now, 0 = C doesn't show the two identities are equivalent... am I also supposed to assume in

-ln|sec x - tan x| + C = ln|sec x + tan x| + C

that the constants are equivalent so that

ln |sec x + tan x| + ln| sec x - tan x| = 0 ?

Because then ln |1| = 0 ??

I thought that constants must be different and that C-C doesn't necessarily = 0 so you can't assume that..

Did I approach this whole thing wrong? Even if ln |1| = 0, how would that prove that

-ln|sec x - tan x| + C = ln|sec x + tan x| + C it simplifies to ln |1| = 0, but just because the simplified result is a true statement (possibly not because what if ln |1| = C does that prove the original equations are equivalent? or ...?
 
Physics news on Phys.org
  • #2
ilikesoldat said:

Homework Statement



Show that the two formulas are equivalent
integral [sec x dx] = ln|sec x + tan x| + C
integral [sec x dx] = -ln|sec x - tan x| + C

Homework Equations



Pythagorean ID's?

Log rule of addition

The Attempt at a Solution


Well, I realized the formulas can only be equivalent if

-ln|sec x - tan x| + C = ln|sec x + tan x| + C
You really should use different symbols for the arbitrary constants.
I put the constants on one side, ln on the other:

ln |sec x + tan x| + ln| sec x - tan x| = C

Then,

ln |(sec x + tan x) * (sec x - tan x)| = C

ln |(sec x)^2 - (tan x)^2| = C

Using pythagorean ID's,

ln |1| = C

But what now, 0 = C doesn't show the two identities are equivalent... am I also supposed to assume in

-ln|sec x - tan x| + C = ln|sec x + tan x| + C

that the constants are equivalent so that

ln |sec x + tan x| + ln| sec x - tan x| = 0 ?

Because then ln |1| = 0 ??

I thought that constants must be different and that C-C doesn't necessarily = 0 so you can't assume that..

Did I approach this whole thing wrong? Even if ln |1| = 0, how would that prove that

-ln|sec x - tan x| + C = ln|sec x + tan x| + C it simplifies to ln |1| = 0, but just because the simplified result is a true statement (possibly not because what if ln |1| = C does that prove the original equations are equivalent? or ...?
What you've shown is that if [itex]\ln |\sec x + \tan x| + c_1 = -\ln |\sec x - \tan x| + c_2[/itex], then c1=c2. The problem is you don't know if your assumption is true. In fact, that assumption is what you're trying to prove in this problem.

What you actually want to show is that [itex]\ln |\sec x + \tan x|[/itex] and [itex]-\ln |\sec x - \tan x|[/itex] differ at most by a constant.

Try something like
[tex]\ln |\sec x + \tan x| = \ln \left|(\sec x+\tan x)\frac{\sec x-\tan x}{\sec x-\tan x}\right| = \cdots[/tex]
 
  • #3
To show that [itex]\ln |\sec(x) + \tan(x)|[/itex] and [itex]-\ln |\sec(x) - \tan(x)|[/itex] differ by at most a constant, you could subtract one from the other an show that's a constant.

Alternatively, to show that each is an anti-derivative of sec(x), take the derivative of each.
 
  • #4
But by your method then they WOULD differ and wouldn't be equal, if they differed by a constant...? Also, technically didn't I show that C1=-C2 and C2=-C1? Because ln (1) = C1+C2, so then 0=C1+C2, and then C1=-C2 or -C1=C2

Also, taking the derivative of each would give 0 and 0, since ln of anything is a constant, and a derivative of that is 0...?

No, that wouldn't make any sense...using a basic differentiation formula: if derivative of tan x = sec^2x that already makes no sense... shouldn't derivative of tan x just be 0 then? Haha now I'm even more confused than I was before. Sorry guys I'm only in high school, I need a little more explanation than that. If not I can sit on it for a while but I don't feel enlightened at all.. for now.. but I'll think about it some more

Oh also I googled the question and someone answered it like this, which is part of what I based my answer on :

Equivalent if and only if
ln I sec x + tan x I = - ln I sec x - tan x I + K <-->
ln I sec x + tan x I + ln I sec x - tan x I = K <-->
ln[ I sec x + tan x I ·I sec x - tan x I] = K <-->
ln[ | sec²x - tan²x|]= K <-->
ln[| 1+tan²x-tan²x|] = K <-->
ln1= cte But ln1=0= --> It's true -->

They are formulas equivalent.

I don't get the last part of his explanation though, which says ln1= cte.. what is cte?
EDIT: I did do it with multiplying by 1, which was awesome thank you, but now my mind is confused because of all the new questions that came up.. but whatever can't know everything right?

Also can I ask how you are able to type with that clear mathematical font? is it some program or something?
 
Last edited:
  • #5
ilikesoldat said:

Homework Statement



Show that the two formulas are equivalent
integral [sec x dx] = ln|sec x + tan x| + C
integral [sec x dx] = -ln|sec x - tan x| + C

...
When you write [itex]\displaystyle \int\sec(x)\,dx=\ln\left(|\sec(x) + \tan(x)|\right) + C\,,[/itex] the constant C is arbitrary, that is to say, without any additional information, it's not possible to say what numerical value the constant has.

So, as in this case, if you have two functions which are different, but they have the same derivative, then they can differ by at most a constant, which is the case here.
 
  • #6
ilikesoldat said:
But by your method then they WOULD differ and wouldn't be equal, if they differed by a constant...? Also, technically didn't I show that C1=-C2 and C2=-C1? Because ln (1) = C1+C2, so then 0=C1+C2, and then C1=-C2 or -C1=C2
Yes, they would be different. Note that the problem didn't ask you to show that the two expressions were equal but that they were equivalent.

Also, taking the derivative of each would give 0 and 0, since ln of anything is a constant, and a derivative of that is 0...?

No, that wouldn't make any sense...using a basic differentiation formula: if derivative of tan x = sec^2x that already makes no sense... shouldn't derivative of tan x just be 0 then? Haha now I'm even more confused than I was before.
I'm not sure where you got the idea that the log of anything is a constant. Eradicate that misconception from your mind.

Sorry guys I'm only in high school, I need a little more explanation than that. If not I can sit on it for a while but I don't feel enlightened at all.. for now.. but I'll think about it some more
In the simplest form of a proof, you start with your given assumptions, follow logically correct reasoning, and end up with what you were trying to show.

To save some typing, I'm going to let F(x)=ln |sec x + tan x|+c1 and G(x)=-ln|sec x - tan x|+c2. You want to show that F(x) and G(x) are equivalent, in other words, that F(x)-G(x) is a constant. You can start with

F(x)-G(x) = (ln |sec x + tan x|+c1) - (-ln|sec x - tan x|+c2),

which is obviously true, and then do some algebra on the righthand side to simplify it and eventually end up with

F(x)-G(x) = c1-c2

which is what you wanted to show. So you started with a true statement and showed that what you wanted to prove was a logical consequence.

What you generally don't want to do is something like this: Start with

F(x)-G(x) = k

This is what you're trying to prove, so you don't really know beforehand if it's valid to say it's equal to a constant k. That's the first problem. Then you do some work and end up with

c1-c2 = k

and conclude, "This is true; therefore, what I started with must be true." This is the second problem. That argument isn't logically correct. It is possible to start with a false premise and end up with a true conclusion.

One caveat is that this form will work if all of the steps are reversible. In that case, you can logically go from c1-c2 = k back to F(x)-G(x) = k. This is what they did in the solution you found via Google. Note that every step is separated by <-->. Those aren't there by accident. The proof writer is explicitly saying that the steps work both ways.
Oh also I googled the question and someone answered it like this, which is part of what I based my answer on :

Equivalent if and only if
ln I sec x + tan x I = - ln I sec x - tan x I + K <-->
ln I sec x + tan x I + ln I sec x - tan x I = K <-->
ln[ I sec x + tan x I ·I sec x - tan x I] = K <-->
ln[ | sec²x - tan²x|]= K <-->
ln[| 1+tan²x-tan²x|] = K <-->
ln1= cte But ln1=0= --> It's true -->

They are formulas equivalent.

Also can I ask how you are able to type with that clear mathematical font? is it some program or something?
https://www.physicsforums.com/showthread.php?t=546968
 
  • #7
Oh, I thought equivalent meant equal. my bad... This helped a lot thanks a ton. And yeah that makes sense that log of some things doesn't have to be a constant -.-.
 
Last edited:

Related to First year calculus proving two formulas are equivalent with natural logs

1. How do you prove two formulas are equivalent in first year calculus using natural logs?

In order to prove two formulas are equivalent using natural logs, you must first take the natural log of both sides of each formula. Then, use algebraic and logarithmic properties to manipulate the equations until they are in the same form. Finally, set the two equations equal to each other and solve for the variable to show that they are equivalent.

2. Why is it important to use natural logs when proving equivalence in first year calculus?

Natural logs allow for easier manipulation of equations and can often simplify complex expressions. They also have useful properties, such as being able to convert exponents into coefficients, that make it easier to prove equivalence between two formulas.

3. What are some common mistakes to avoid when proving equivalence using natural logs?

One common mistake is forgetting to take the natural log of both sides of the equation, which can lead to incorrect results. Another mistake is not using the correct properties of natural logs, such as the power rule or product rule, when manipulating the equations.

4. Can natural logs be used to prove equivalence in other areas of mathematics besides first year calculus?

Yes, natural logs can be used to prove equivalence in many areas of mathematics, such as algebra, trigonometry, and differential equations. They are a powerful tool for simplifying equations and showing equivalence between different forms.

5. Are there any alternative methods for proving equivalence besides using natural logs?

Yes, there are other methods for proving equivalence, such as using algebraic properties or using graphical representations. However, natural logs are often the most efficient and straightforward method for proving equivalence in first year calculus.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
921
  • Calculus and Beyond Homework Help
Replies
8
Views
816
  • Calculus and Beyond Homework Help
Replies
6
Views
840
  • Calculus and Beyond Homework Help
Replies
5
Views
368
  • Calculus and Beyond Homework Help
Replies
3
Views
848
Replies
7
Views
2K
  • Calculus and Beyond Homework Help
Replies
8
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
Back
Top