I’m working on a problem involving two steel rods and one aluminum rod of equal length and cross-section rigidly joined at their ends. And the overall rod, made by joining them is overall free. When the system is heated, I’m trying to calculate the final length of the system using the generalized form of Hooke’s law that's mentioned here:
It's assumed that the system is under no initial tension, and has no change in area, even after expansion, so everything can be assumed to be purely 1-dimensional.
I started to apply the law: $\sigma = Y(\epsilon - \alpha dT)$ for both the rods. I also assumed that the steel rods would want to expand more, or simply $\alpha_s > \alpha_a$
Then, the force, or stress, that aluminium would be under has to be twice the force that either steel rod is under (because there are two rods applying force on the aluminium rod).
So, now, essentially, $2Y_s(\epsilon_s - \alpha_s dT) = Y_a(\epsilon_a - \alpha_a dT)$
Also, because the two rods are tightly clamped to each other, then, the strain on both the rods should be equal, and then finally equating the strain, from which I can find the final length, I get the answer,
$\epsilon = \frac{2Y_s\alpha_s - Y_a\alpha_a}{2Y_s - Y_a}$
Now, the actual answer suggests that instead of subtraction both the terms in the numerator and the denominator have to be added. Which makes me doubtful if there has to be some sort of direction, or sign associated with the stress or the strain. Since, the actual length of both the rods increases, there can't be negative strain. But, the forces in the steel rods are opposite to the change in length. But, stress doesn't have anything to do with direction, or does it? (Is this where I'm wrong?)
How to handle sign conventions in stress and strain for systems involving compression and tension? If for two rods, one under compressive stress, and one under expanding stress, and both under the same overall change in length (the overall strain), should the signs of stress be different?
Whether my approach to equating the strains is conceptually correct?
This seems like homework, but it actually isn't. I had to share my work because giving context was important.