Trouble seeing the difference between autograder answer and my own

  • Thread starter Thread starter ago01
  • Start date Start date
  • Tags Tags
    Difference
Click For Summary
The discussion centers around a user who solved an integral using trigonometric substitution but received an incorrect mark from an autograder. The user derived the expression ln|x/7 + √(x²-49)/7| + C, while the autograder's answer was ln|1/7(√(x²-49) + x)| + C. Both expressions are mathematically equivalent, but the user struggles to identify the log property that distinguishes them. The conversation highlights frustrations with autograders, suggesting they may not always recognize equivalent forms of answers. The user seeks clarification on the log properties that could explain the discrepancy.
ago01
Messages
46
Reaction score
8
Homework Statement
Integrate ##\frac{1}{\sqrt{x^2-49}}dx##
Relevant Equations
Trig sub, secant.
I was doing a practice quiz and got the following integral:

##\int \frac{1}{\sqrt{x^2-49}}dx##

Following normal trig sub. Using ##b^2 = c^2 - a^2## we find ##\sec{\theta} = \frac{x}{5}## and so ##x = 5\sec{\theta}## and ##dx = 5\sec{\theta}\tan{\theta}d\theta##

Then

## \int \frac{1}{\sqrt{x^2-49}}dx = 5 \int \frac{\sec{\theta}\tan{\theta}d\theta}{\tan{\theta}}##

Then after simplification:

##\int \sec{\theta}d\theta = ln|\sec{\theta} + \tan{\theta}| + C##

and solving for theta using the triangle:

## ln|\frac{x}{7} + \frac{\sqrt{x^2-49}}{7}| + C ##

The autograder marked me wrong. The correct answer was:

##ln|\frac{1}{7}(\sqrt{x^2-49} + x)| + C##

Which looks to be the same to me. I cannot see the difference. Even the plots look the same. I must be forgetting a property of logs that makes these distinct. Can you help me?
 
Physics news on Phys.org
I'm assuming an autograder is some software? If so, its answer looks neater to me, but the answers are clearly equivalent.
 
Some autograders are just ... sub-par ...
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
28
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 22 ·
Replies
22
Views
3K
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
6
Views
2K
  • · Replies 34 ·
2
Replies
34
Views
6K
Replies
3
Views
2K