You are not logged in.
I agree that there is a lot of maths in computer science, however majority of the programmers nowadays are not very aware of that. They go into programming for a good job and nothing else.
Offline
The people who are paying them are the ones that need an education. Is it the boys at Redmond?
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
What is the integral of tan x?
'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.
Offline
-ln(cos(x))+C.
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline
or rather ln(sec(x)) + C.
Now, how do you differentiate ln(sec(x)) step by step. I guess there is a substitution method
'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.
Offline
Use the chain rule.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Let y = log(sec(x)) and u = sec(x)
Clearly, du/dx = sec(x)tan(x)
and, dy/du = 1/u = 1/sec(x)
Therefore, (du/dx)*(dy/du)= dy/dx = tan(x)
What is chain rule?
Anyhow, how do I integrate tan(x) by hand?
'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.
Offline
That was funny, right?
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Math is Fun. I am not sure if it is funny
'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.
Offline
I mean about the chain rule. You did it!
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Ha ha ha! So, thats called the chain rule!
Achchha, how do I integrate tan(x) by hand?
'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.
Offline
I use a package or a table.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Write tan(x) = sin(x)/cos(x).
Write tan(x) = sin(x)/cos(x).
Then?
Please continue
'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.
Offline
That is the first step. Set u = cos(x)
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
I am lost.
What technique should I use?
'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.
Offline
du = - sin(x) dx
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
But why are you doing this?
I wanted an interation of it
'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.
Offline
Are you familiar with integration by substitution?
Because you are already done! Look at the numerator and what du equals.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
I think I can do it now.
I will try the next time I wake up
'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.
Offline
See the sin(x) dx? Well you have du = - sin(x) dx and u = cos(x)
You get -du/u, which you can certainly integrate.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
hi Agnishom,
This old post popped up today because of a spammer but I have an answer which might be useful for this:
http://www.mathisfunforum.com/viewtopic.php?pid=316853#p316853
Achchha, how do I integrate tan(x) by hand?
If you start with
and differentiate, you get:
So, when integrating, it is always worth being on the lookout for the presence of a function and its derivative. In your question we have both sine and cosine x , so we do have the function (cos) and its derivative (sin)
By inspection I can see I'm going to need a minus sign too, thus:
A similar argument works for this one:
Substitution for f(x) will always work in these cases (can you see why?) but it takes longer.
Bob
ps. Sometimes I can see an integration 'by inspection'. It's an acceptable method provided you 'prove' your 'guess' actually works by differentiation.
Last edited by Bob (2014-05-25 22:26:29)
Children are not defined by school ...........The Fonz
You cannot teach a man anything; you can only help him find it within himself..........Galileo Galilei
Sometimes I deliberately make mistakes, just to test you! …………….Bob
Offline
Why is tan(x) = ln(f(x))?
'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.
Offline