We've all done it. Anyone who's taken calculus in their life has at some point forgotten to put the +C at the end of an indefinite integral. But there's more to the +C then just something you have to remember or you'll lose points on your calculus test. I'm going to discuss a couple integrals and explain how the +C can help you avoid mathematical disaster.
............................................................................................
First, an explanation of the +C. What is its purpose? When you take an indefinite integral of f(x) you are figuring out what function F(x) has the derivative equal to f(x). Take a look at two functions, f1(x)=x3 and f2(x)=x3+1. Obviously, these are different functions, but when you derive them, you will find that f1′(x)=f2′(x)=3x2! So if we are trying to find the antiderivative of 3x2, we add a +C, meaning adding a constant to the antiderivative, to account for the fact that f(x)+C derives to f′(x) for all real C.............................................................................................
So let's take a look at a couple integrals.
This first one has several different ways to find the antiderivative.
∫sinxcosxdx
Let's start with my preferred way.
∫sinxcosxdx=∫21sin2xdx=−41cos2x+C(1)
But we can make a couple different u-substitutions too. Let u=sinx and du=cosxdx.∫sinxcosxdx=∫udu=21u2+C=21sin2x+C(2)
Now let u=cosx and du=−sinxdx.∫sinxcosxdx=∫−udu=−21u2+C=−21cos2x+C(3)
Somehow, these are all equal to each other. But how? Let's take a look at some properties of C before coming back to these integrals.
............................................................................................
Remember that C is a constant between −∞ and ∞. Don't look at C as a number, but a function of with a range of (−∞,∞). So we can say, for example, this.
∫sinxcosxdx=1−21cos2x+Cand∫sinxcosxdx=−21cos2x+C−C3+1337C
As long as the function of C has range (−∞,∞), then you can use it, but you may need to restrict the domain. Take a look at this.
∫3x2dx=x3+tanC if C∈(−2π,2π)
One last thing to note before looking at the integral again is that not all C’s are the same. Subtraction of these integrals does not take away the C. Here is the misconception.
∫3x2dx−∫2xdx=x3+C−(x2+C)=x3−x2
But those C’s are not the same. A constant minus a constant is another constant.
∫3x2dx−∫2xdx=x3+C1−(x2+C2)=x3−x2+C3
This makes sense because of this.
∫3x2−2xdx=x3−x2+C
So we've found some properties of the constants in integrals. Let's go back to the integral of sinxcosx.............................................................................................
We have already proved that (2)=(3). Let's find the constant that will make (1)=(2)
−41cos2x+C1=21sin2x+C2⇒−41cos2x+C3=21sin2x
Expanding the LHS, −41+21sin2x+C3=21sin2x
Look at that! Cancel out the 21sin2x to find that −41+C3=0, so C3=41. The difference between the constants of the two integrals is 41.
So let's conclude our proof that (1)=(2) by saying this. Here, the C’s are equal to each other.
∫sinxcosxdx=∫sincosxdx−41cos2x+41+C=21sin2x+C............................................................................................
Not all integrals in need of recalibrating the +C involve manipulating multiple u-substitutions. The next one we will work with is this.
∫ex−e−xex+e−xdx
Let u=ex−e−x. Then du=(ex+e−x)dx∫udu=ln∣u∣+C1=ln(ex−e−x)+C1
But that integral looks like it uses hyperbolic geometry. In fact, it is simply this.
∫cothxdx=ln(sinhx)+C2=ln(2ex−e−x)+C2
We have another case of needing to manipulate the +C’s.
Using the properties of logarithms, ln(2ex−e−x)=ln(ex−e−x)−ln2. But ln2 is a constant. So C1=C2+ln2 and the integrals are equal!
∫ex−e−xex+e−xdx=∫ex−e−xex+e−xdxln(2ex−e−x)+ln2+C=ln(ex−e−x)+C............................................................................................
So now we've seen how we can manipulate the +C in an indefinite integral to make sure that the laws of math aren't broken. Here are some strategies for manipulating the constant.
−Separate the C’s with subscripts. Not all constants are the same.
−The difference between two constants is still a constant that may or may not be 0.
−C represents a function with range R
−Often, you can use properties of logarithms (or other functions) to separate out constants from a variable expression.
−If the simplified version of your indefinite integral contains an integer added to a variable expression, you may want to add the integer to C to produce a new C.............................................................................................Problem: Discuss this integral with respect to manipulating the constants.
∫x2sin(x3)cos(x3)dx
Can you share a problem that uses this type of variable manipulation? Do you have any comments about this topic? Please comment and leave your ideas.
............................................................................................
Thanks for reading this post, and I hope it helps out! I'll be using the hashtag #TrevorsTips for posts that talk about seemingly simple concepts that can actually be really helpful.
This discussion board is a place to discuss our Daily Challenges and the math and science
related to those challenges. Explanations are more than just a solution — they should
explain the steps and thinking strategies that you used to obtain the solution. Comments
should further the discussion of math and science.
When posting on Brilliant:
Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .
Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.
Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.
Stay on topic — we're all here to learn more about math and science, not to hear about your favorite get-rich-quick scheme or current world events.
Markdown
Appears as
*italics* or _italics_
italics
**bold** or __bold__
bold
- bulleted - list
bulleted
list
1. numbered 2. list
numbered
list
Note: you must add a full line of space before and after lists for them to show up correctly
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
Thanks for these tips.
I almost misread the title, thinking that it is a Computer Science post (get it?, because C++)
Log in to reply
Same here xD
Same pinch:)
Dude thanks so much, this is great!
This i an amazing post. Thank You ! :D
Aye, very important to realise that we lose information when taking derivatives. Great post!
really helpful.
thanx for such note.
hope to see more notes from ya ;)
In the equation below domain of C, 3x2−2x one! You have an extra "=" sign which was confusing me!
I'm not brainy enough to understand this!